import importScripts from "./importscripts.js";
import "./polyfill.NodeList.forEach.ts";
if ("production" === process.env.NODE_ENV) {
    if ("function" !== typeof requestIdleCallback) {
        importScripts(
            "https://polyfill.io/v3/polyfill.min.js?features=requestIdleCallback"
        );
    }
}

//@ts-ignore

if (typeof ResizeObserver !== "function") {
    importScripts(
        "https://polyfill.io/v3/polyfill.min.js?features=ResizeObserver"
    );
}
